package com.itheima.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.itheima.dto.DishDto;
import com.itheima.entity.Dish;

/**
 * ClassName: DishService
 * Package: com.itheima.service
 * Description:
 *
 * @Author: @Albert
 * @Version: 1.0
 */
public interface DishService extends IService<Dish> {
    //新增菜品同时插入菜品对应的口味数据
    public void saveWithFlavor(DishDto dishDto);

    public DishDto getByIdWithFlavor(Long id);
    //更新菜品信息和口味信息
    public void updateWithFlavor(DishDto dishDto);
}
